package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30)" json:"username"`
	Password string `gorm:"type:varchar(50)" json:"password"`
}
type Engin struct {
	gorm.Model
	Title string `gorm:"type:varchar(30)" json:"title"`
	Cont  string `gorm:"type:varchar(50)" json:"cont"`
	Cate  string `gorm:"type:varchar(50)" json:"cate"`
}
